package com.qfedu.meidijiaju.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 食谱类型小分类
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShipuxiaotypeYxy implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 食谱类型小分类id
     */
    @TableId(value = "shipuXiaoType_id", type = IdType.AUTO)
    private Integer shipuxiaotypeId;

    /**
     * 食谱类型小分类名字
     */
    @TableField("shipuXiaoTypeName")
    private String shipuXiaoTypeName;

    /**
     * 食谱类型大分类id
     */
    @TableField("shipuType_id")
    private Integer shiputypeId;

    @TableField(exist = false)
    private List<ShipuYxy> shipuYxies;


}
